<template>
  <div class="recommend">
    <div class="recommendItem" v-for="item in recommendData" :key="item.acm">
      <a :href="item.link">
        <img :src="item.image" alt="">
        <p>{{item.title}}</p>
      </a>
    </div>
  </div>
</template>
<script>
export default {
  props:{
    recommendData:Array
  }
}
</script>
<style scoped>
.recommend{
  display: flex;
  padding-top:12px;
  padding-bottom: 15px;
  border-bottom: 8px solid #eee;
}
.recommendItem{
  flex:1;
  text-align: center;
  font-size: 12px;
}
.recommendItem img{
  width: 70px;
  height: 70px;
  margin-bottom: 5px;
}
</style>